package com.lin.zoo.service;

import com.lin.zoo.dao.ParkDao;
import com.lin.zoo.po.Messege;

public class ParkService {
    private ParkDao parkDao=new ParkDao();
    public Messege vPark(){
        return parkDao.vPark();//查看园区信息
    }
    public void delPark(Object id){
        parkDao.delPark(id);
    }//删除园区信息
    public void setName(Object id,String name){parkDao.setName(id,name);}//修改名字
    public void setType(Object id,String type){parkDao.setType(id,type);}//修改园区类型
    public void setIntroduce(Object id,String introduce){parkDao.setIntroduce(id,introduce);}//修改园区介绍
    public void setArea(Object id,String area){parkDao.setArea(id,area);}//修改园区面积
    public void setAddress(Object id,String address){parkDao.setAddress(id,address);}//修改园区地址
    public void setStart(Object id,String startTime){parkDao.setStart(id,startTime);}//修改开始时间
    public void setEnd(Object id,String endTime){parkDao.setEnd(id,endTime);}//修改结束时间
    public void setStatus(Object id,String status){parkDao.setStatus(id,status);}//修改开园状态
}
